﻿using DevExpress.XtraEditors;
using DevExpress.XtraGrid.Demos.util;
using DXApplicationTangche.UC.门店出入库.Service;
using DXApplicationTangche.UC.门店出入库.UC;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.门店出入库
{
    public partial class Form库存流水合计 : DevExpress.XtraEditors.XtraForm
    {
        private XtraUserControl库存流水 xtraUserControl每日入成品仓和抖音仓的明细;
        private XtraUserControl库存流水 xtraUserControl每日出成品仓和抖音仓的明细;
        private XtraUserControl库存流水 xtraUserControl每日入待检仓明细;

        public Form库存流水合计()
        {
            InitializeComponent();
            this.查询();
        }

        private void 查询()
        {
            List<String> storeId每日成品仓和抖音仓的明细 = new List<String>();
            storeId每日成品仓和抖音仓的明细.Add("5");
            storeId每日成品仓和抖音仓的明细.Add("14");
            //  每日入成品仓和抖音仓的明细
            this.xtraUserControl每日入成品仓和抖音仓的明细 = new XtraUserControl库存流水("入库", storeId每日成品仓和抖音仓的明细);
            this.xtraUserControl每日入成品仓和抖音仓的明细.Dock = DockStyle.Fill;
            this.xtraTabPage每日入成品仓和抖音仓的明细.Controls.Clear();
            this.xtraTabPage每日入成品仓和抖音仓的明细.Controls.Add(this.xtraUserControl每日入成品仓和抖音仓的明细);
            //  每日出成品仓和抖音仓的明细
            this.xtraUserControl每日出成品仓和抖音仓的明细 = new XtraUserControl库存流水("出库", storeId每日成品仓和抖音仓的明细);
            this.xtraUserControl每日出成品仓和抖音仓的明细.Dock = DockStyle.Fill;
            this.xtraTabPage每日出成品仓和抖音仓的明细.Controls.Clear();
            this.xtraTabPage每日出成品仓和抖音仓的明细.Controls.Add(this.xtraUserControl每日出成品仓和抖音仓的明细);
            //   每日入待检仓明细
            List<String> storeId每日入待检仓明细 = new List<String>();
            storeId每日入待检仓明细.Add("8");
            this.xtraUserControl每日入待检仓明细 = new XtraUserControl库存流水("入库", storeId每日入待检仓明细);
            this.xtraUserControl每日入待检仓明细.Dock = DockStyle.Fill;
            this.xtraTabPage每日入待检仓明细.Controls.Clear();
            this.xtraTabPage每日入待检仓明细.Controls.Add(this.xtraUserControl每日入待检仓明细);
        }
    }
}